package asruby.lang
{
public class Profile {
	
	public function  allowBuiltin(name: String): Boolean { return true; }
    public function  allowClass(name: String): Boolean { return true; }
    public function  allowModule(name: String): Boolean { return true; }
    public function  allowLoad(name: String): Boolean { return true; }
    public function  allowRequire(name: String): Boolean { return true; }	

/*     public var ALL: Profile = new Profile() {
            public function  allowBuiltin(name: String): Boolean { return true; }
            public function  allowClass(name: String): Boolean { return true; }
            public function  allowModule(name: String): Boolean { return true; }
            public function  allowLoad(name: String): Boolean { return true; }
            public function  allowRequire(name: String): Boolean { return true; }
        };
    var DEBUG_ALLOW: Profile = new Profile() {
            public Boolean allowBuiltin(String name) { function  "allowBuiltin(":): System.err.println "); return true; }
            public Boolean allowClass(String name) { function  "allowClass(":): System.err.println "); return true; }
            public Boolean allowModule(String name) { function  "allowModule(":): System.err.println "); return true; }
            public Boolean allowLoad(String name) { function  "allowLoad(":): System.err.println "); return true; }
            public Boolean allowRequire(String name) { function  "allowRequire(":): System.err.println "); return true; }
        };
    var NO_FILE_CLASS: Profile = new Profile() {
            public function  allowBuiltin(name: String): Boolean { return true; }
            public Boolean allowClass(String name) { function  !name.equals(): return { return !name.equals("File"); }
            public function  allowModule(name: String): Boolean { return true; }
            public function  allowLoad(name: String): Boolean { return true; }
            public function  allowRequire(name: String): Boolean { return true; }
        };
    var ANY: Profile = ALL;
    var DEFAULT: Profile = ALL; 
    
    Boolean allowBuiltin(String name);
    Boolean allowClass(String name);
    Boolean allowModule(String name);
    Boolean allowLoad(String name);
    Boolean allowRequire(String name); */
}
}